﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A01 RID: 2561
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KOKOLGODIMF : IMessage<KOKOLGODIMF>, IMessage, IEquatable<KOKOLGODIMF>, IDeepCloneable<KOKOLGODIMF>, IBufferMessage
	{
		// Token: 0x1700206D RID: 8301
		// (get) Token: 0x060072E3 RID: 29411 RVA: 0x00133697 File Offset: 0x00131897
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KOKOLGODIMF> Parser
		{
			get
			{
				return KOKOLGODIMF._parser;
			}
		}

		// Token: 0x1700206E RID: 8302
		// (get) Token: 0x060072E4 RID: 29412 RVA: 0x0013369E File Offset: 0x0013189E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KOKOLGODIMFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700206F RID: 8303
		// (get) Token: 0x060072E5 RID: 29413 RVA: 0x001336B0 File Offset: 0x001318B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KOKOLGODIMF.Descriptor;
			}
		}

		// Token: 0x060072E6 RID: 29414 RVA: 0x001336B7 File Offset: 0x001318B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKOLGODIMF()
		{
		}

		// Token: 0x060072E7 RID: 29415 RVA: 0x001336EC File Offset: 0x001318EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKOLGODIMF(KOKOLGODIMF other) : this()
		{
			this.iCGOAMADMPH_ = other.iCGOAMADMPH_.Clone();
			this.gPKMFEMIDEM_ = other.gPKMFEMIDEM_.Clone();
			this.nAJPHNPMAIN_ = other.nAJPHNPMAIN_.Clone();
			this.hJLFMIGNEMA_ = other.hJLFMIGNEMA_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060072E8 RID: 29416 RVA: 0x00133754 File Offset: 0x00131954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KOKOLGODIMF Clone()
		{
			return new KOKOLGODIMF(this);
		}

		// Token: 0x17002070 RID: 8304
		// (get) Token: 0x060072E9 RID: 29417 RVA: 0x0013375C File Offset: 0x0013195C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ICGOAMADMPH
		{
			get
			{
				return this.iCGOAMADMPH_;
			}
		}

		// Token: 0x17002071 RID: 8305
		// (get) Token: 0x060072EA RID: 29418 RVA: 0x00133764 File Offset: 0x00131964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> GPKMFEMIDEM
		{
			get
			{
				return this.gPKMFEMIDEM_;
			}
		}

		// Token: 0x17002072 RID: 8306
		// (get) Token: 0x060072EB RID: 29419 RVA: 0x0013376C File Offset: 0x0013196C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueMagicScepter> NAJPHNPMAIN
		{
			get
			{
				return this.nAJPHNPMAIN_;
			}
		}

		// Token: 0x17002073 RID: 8307
		// (get) Token: 0x060072EC RID: 29420 RVA: 0x00133774 File Offset: 0x00131974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueMagicGameUnit> HJLFMIGNEMA
		{
			get
			{
				return this.hJLFMIGNEMA_;
			}
		}

		// Token: 0x060072ED RID: 29421 RVA: 0x0013377C File Offset: 0x0013197C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KOKOLGODIMF);
		}

		// Token: 0x060072EE RID: 29422 RVA: 0x0013378C File Offset: 0x0013198C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KOKOLGODIMF other)
		{
			return other != null && (other == this || (this.iCGOAMADMPH_.Equals(other.iCGOAMADMPH_) && this.gPKMFEMIDEM_.Equals(other.gPKMFEMIDEM_) && this.nAJPHNPMAIN_.Equals(other.nAJPHNPMAIN_) && this.hJLFMIGNEMA_.Equals(other.hJLFMIGNEMA_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060072EF RID: 29423 RVA: 0x0013380C File Offset: 0x00131A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.iCGOAMADMPH_.GetHashCode();
			num ^= this.gPKMFEMIDEM_.GetHashCode();
			num ^= this.nAJPHNPMAIN_.GetHashCode();
			num ^= this.hJLFMIGNEMA_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060072F0 RID: 29424 RVA: 0x0013386A File Offset: 0x00131A6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060072F1 RID: 29425 RVA: 0x00133872 File Offset: 0x00131A72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060072F2 RID: 29426 RVA: 0x0013387C File Offset: 0x00131A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.iCGOAMADMPH_.WriteTo(ref output, KOKOLGODIMF._repeated_iCGOAMADMPH_codec);
			this.gPKMFEMIDEM_.WriteTo(ref output, KOKOLGODIMF._repeated_gPKMFEMIDEM_codec);
			this.nAJPHNPMAIN_.WriteTo(ref output, KOKOLGODIMF._repeated_nAJPHNPMAIN_codec);
			this.hJLFMIGNEMA_.WriteTo(ref output, KOKOLGODIMF._repeated_hJLFMIGNEMA_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060072F3 RID: 29427 RVA: 0x001338E4 File Offset: 0x00131AE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.iCGOAMADMPH_.CalculateSize(KOKOLGODIMF._repeated_iCGOAMADMPH_codec);
			num += this.gPKMFEMIDEM_.CalculateSize(KOKOLGODIMF._repeated_gPKMFEMIDEM_codec);
			num += this.nAJPHNPMAIN_.CalculateSize(KOKOLGODIMF._repeated_nAJPHNPMAIN_codec);
			num += this.hJLFMIGNEMA_.CalculateSize(KOKOLGODIMF._repeated_hJLFMIGNEMA_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060072F4 RID: 29428 RVA: 0x00133958 File Offset: 0x00131B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KOKOLGODIMF other)
		{
			if (other == null)
			{
				return;
			}
			this.iCGOAMADMPH_.Add(other.iCGOAMADMPH_);
			this.gPKMFEMIDEM_.Add(other.gPKMFEMIDEM_);
			this.nAJPHNPMAIN_.Add(other.nAJPHNPMAIN_);
			this.hJLFMIGNEMA_.Add(other.hJLFMIGNEMA_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060072F5 RID: 29429 RVA: 0x001339C4 File Offset: 0x00131BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060072F6 RID: 29430 RVA: 0x001339D0 File Offset: 0x00131BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 48U || num == 50U)
					{
						this.iCGOAMADMPH_.AddEntriesFrom(ref input, KOKOLGODIMF._repeated_iCGOAMADMPH_codec);
						continue;
					}
					if (num == 56U)
					{
						goto IL_51;
					}
				}
				else
				{
					if (num == 58U)
					{
						goto IL_51;
					}
					if (num == 106U)
					{
						this.nAJPHNPMAIN_.AddEntriesFrom(ref input, KOKOLGODIMF._repeated_nAJPHNPMAIN_codec);
						continue;
					}
					if (num == 122U)
					{
						this.hJLFMIGNEMA_.AddEntriesFrom(ref input, KOKOLGODIMF._repeated_hJLFMIGNEMA_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_51:
				this.gPKMFEMIDEM_.AddEntriesFrom(ref input, KOKOLGODIMF._repeated_gPKMFEMIDEM_codec);
			}
		}

		// Token: 0x04002BDC RID: 11228
		private static readonly MessageParser<KOKOLGODIMF> _parser = new MessageParser<KOKOLGODIMF>(() => new KOKOLGODIMF());

		// Token: 0x04002BDD RID: 11229
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002BDE RID: 11230
		public const int ICGOAMADMPHFieldNumber = 6;

		// Token: 0x04002BDF RID: 11231
		private static readonly FieldCodec<uint> _repeated_iCGOAMADMPH_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04002BE0 RID: 11232
		private readonly RepeatedField<uint> iCGOAMADMPH_ = new RepeatedField<uint>();

		// Token: 0x04002BE1 RID: 11233
		public const int GPKMFEMIDEMFieldNumber = 7;

		// Token: 0x04002BE2 RID: 11234
		private static readonly FieldCodec<uint> _repeated_gPKMFEMIDEM_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x04002BE3 RID: 11235
		private readonly RepeatedField<uint> gPKMFEMIDEM_ = new RepeatedField<uint>();

		// Token: 0x04002BE4 RID: 11236
		public const int NAJPHNPMAINFieldNumber = 13;

		// Token: 0x04002BE5 RID: 11237
		private static readonly FieldCodec<RogueMagicScepter> _repeated_nAJPHNPMAIN_codec = FieldCodec.ForMessage<RogueMagicScepter>(106U, RogueMagicScepter.Parser);

		// Token: 0x04002BE6 RID: 11238
		private readonly RepeatedField<RogueMagicScepter> nAJPHNPMAIN_ = new RepeatedField<RogueMagicScepter>();

		// Token: 0x04002BE7 RID: 11239
		public const int HJLFMIGNEMAFieldNumber = 15;

		// Token: 0x04002BE8 RID: 11240
		private static readonly FieldCodec<RogueMagicGameUnit> _repeated_hJLFMIGNEMA_codec = FieldCodec.ForMessage<RogueMagicGameUnit>(122U, RogueMagicGameUnit.Parser);

		// Token: 0x04002BE9 RID: 11241
		private readonly RepeatedField<RogueMagicGameUnit> hJLFMIGNEMA_ = new RepeatedField<RogueMagicGameUnit>();
	}
}
